package com.hellohoper.cloud.hystrix;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.netflix.turbine.EnableTurbine;

/**
 * Created by hk on 10/19/16.
 */
@SpringBootApplication
@EnableEurekaClient
@EnableHystrixDashboard
@EnableTurbine
public class CloudHystrixApp implements CommandLineRunner {

    public static void main(String[] args) {
        SpringApplication.run(CloudHystrixApp.class, args);
    }

    @Override
    public void run(String... strings) throws Exception {

    }
}
